package main

import "fmt"

type address struct {
	province string
	city     string
}

type email struct {
	addr       string
	updateTime string
}
type person4 struct {
	name    string
	gender  string
	age     int
	address address
}

func main() {
	p1 := person4{
		name:   "小王子",
		gender: "男",
		age:    18,
		address: address{
			province: "山东",
			city:     "威海",
		},
	}
	fmt.Printf("%v\n", p1)
	fmt.Println(p1.name, p1.gender, p1.age, p1.address)
}
